package net.bingosoft.common.service;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 2008-1-9 下午01:47:03
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:事务注解,如果一个由ServiceFactoryBean生产出的ServiceBean的方法需要被代理事务,则只需要在方法前加上该注解即可
 * @see ServiceFactoryBean
 * ChangeLog:
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Transaction {}
